package com.work.example.demo5.domain;

public class BorrowEntity {
    private Long borrowId;
    private Long bookId;
    private Long userId;
    private String borrowTime;
    private String returnTime;
    private String isReturned;
    private Long borrowById;

    @Override
    public String toString() {
        return "BorrowEntity{" +
                "borrowId=" + borrowId +
                ", bookId=" + bookId +
                ", userId=" + userId +
                ", borrowTime='" + borrowTime + '\'' +
                ", returnTime='" + returnTime + '\'' +
                ", isReturned='" + isReturned + '\'' +
                ", borrowBy='" + borrowById + '\'' +
                '}';
    }

    public BorrowEntity() {
    }

    public BorrowEntity(Long borrowId, Long bookId, Long userId, String borrowTime, String returnTime, String isReturned, Long borrowById) {
        this.borrowId = borrowId;
        this.bookId = bookId;
        this.userId = userId;
        this.borrowTime = borrowTime;
        this.returnTime = returnTime;
        this.isReturned = isReturned;
        this.borrowById = borrowById;
    }

    public Long getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(Long borrowId) {
        this.borrowId = borrowId;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(String borrowTime) {
        this.borrowTime = borrowTime;
    }

    public String getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(String returnTime) {
        this.returnTime = returnTime;
    }

    public String getIsReturned() {
        return isReturned;
    }

    public void setIsReturned(String isReturned) {
        this.isReturned = isReturned;
    }

    public Long getBorrowBy() {
        return borrowById;
    }

    public void setBorrowBy(Long borrowById) {
        this.borrowById = borrowById;
    }
}
